* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f6f6f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

/* Estilos para el contenedor */
.container {
    width: 95vw;
    height: auto; /* Permite que el contenedor ajuste su altura según el contenido */
    max-width: 720px;
    background-color: white;
    position: relative;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px; /* Añadir padding para evitar que el contenido toque los bordes */
}


/* Estilos para la foto de portada */
.cover-photo {
    width: 100%;
    height: 200px;
    background-image: url('/tarjeta/Assets/Fondo-Naranja2.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Ajusta la posición de la foto de perfil */
.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid #ed672e;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Títulos y estilos del texto */
.titulo {
    color: #ed672e;
    font-size: 52px;
    margin-top: 300px;
    margin-bottom: 10px;
    font-family: 'Bebas Neue', sans-serif;
}

.subtitulo {
    color: #333;
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 600;
    font-family: 'League Spartan', sans-serif;
}

.contact-info {
    font-size: 18px;
    color: #666;
    margin: 5px 0;
    font-family: 'Open Sans', sans-serif;
}

/* Botón de descarga de contacto */
.download-contact {
    font-size: 22px;
    display: inline-block;
    color: #FFF;
    background-color: #ed672e;
    text-decoration: none;   
    margin-top: 20px;
    padding: 10px 90px;
    border: 2px solid #ed672e;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'League Spartan', sans-serif;
}

.download-contact:hover {
    background-color: #FFF;
    color: #ed672e;
}

/* Título sobre el botón de comparar hipotecas */
.compare-title {
    font-size: 32px;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Botón de comparar hipotecas */
.compare-button {
    display: inline-block;
    font-size: 22px;
    color: #fff;
    background-color: #ed672e;
    padding: 10px 70px;
    margin-top: 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-family: 'League Spartan', sans-serif;
}

.compare-button:hover {
    background-color: #333;
}

/* Redes sociales */
#redes-sociales {
    margin-top: 50px;
    text-align: center;
}

.redes-titulo {
    color: #333;
    font-size: 46px;
    margin-bottom: 5px;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    justify-content: center; /* Centra los iconos horizontalmente */
    align-items: center; /* Centra los iconos verticalmente */
    text-align: center; /* Asegura que los iconos estén alineados al centro en el contenedor */
}

.icono {
    display: flex;
    justify-content: center;
    align-items: center; /* Alinea los iconos al centro */
    flex: 0 1 calc(30%); /* Ajusta para 3 en fila */
    height: 100px; /* Asegúrate de que haya una altura definida */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 10px;
}

.icono:hover {
    transform: scale(1.1);
}


/* Íconos individuales */
.facebook {
    background-image: url('/tarjeta/Assets/iconofb.svg');
}

.tiktok {
    background-image: url('/tarjeta/Assets/iconotiktok.svg');
}

.instagram {
    background-image: url('/tarjeta/Assets/iconoig.svg');
}

.calendar {
    background-image: url('/tarjeta/Assets/iconocalendar.svg');
}

.linkedin {
    background-image: url('/tarjeta/Assets/iconolinkedin.svg');
}

.whatsapp {
    background-image: url('/tarjeta/Assets/iconowpp.svg');
}

.youtube {
    background-image: url('/tarjeta/Assets/iconoyt.svg');
}

.calendly {
    background-image: url('/tarjeta/Assets/iconocalendly.svg');
}

.zoom {
    background-image: url('/tarjeta/Assets/iconozoom.svg');
}

.twitter{
    background-image: url('/tarjeta/Assets/iconotwitter.svg');
}

/* Efecto hover en los íconos */
.icono:hover {
    transform: scale(1.1);
}
